package com.cyx.service;

import com.cyx.pojo.Subject;

import java.util.List;

public interface SubjectServiceInterface {

   public void addSubject(Subject subject);

    public List<Subject> findAllSubject();

    public Subject findSubjectById(int subjectId);

    public List<Integer> findAllSubjectId();

    public void updateSubject(Subject subject);

    public void deleteSubject(int subjectId);

    public List<Subject>findSubjectBySubjectTitle(String subjectTitle);

    public List<Subject>randomFindSubject();
}
